//
//  StringHelper.h
//  LubiEdu
//
//  Created by chuanglong03 on 16/6/30.
//  Copyright © 2016年 chuanglong. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface StringHelper : NSObject

// 判断字符串是否全部为空格
+ (BOOL)judgeAllSpace:(NSString *)string;
// 判断字符串是否为空或者全部为空格
+ (BOOL)judgeEmptyOrAllSpace:(NSString *)string;
// 判断手机号是否有效
+ (BOOL)judgeValidMobile:(NSString *)mobile;
// 判断字符串是否为数字或字母
+ (BOOL)judgeNumberOrLetter:(NSString *)string;
//转josn
+ (NSString *)jsonStringFromObject:(id)obj;
@end
